import { defineStore } from 'pinia'
import { ref } from 'vue'

export const useCategoryStore = defineStore('category', () => {
  const category = ref(null)
  const resetValue = newValue => {
    category.value = newValue
  }

  return { category, resetValue }
})
